package cn.hdu.liang.test;

interface a {
    void atest();
}

interface b {
    void btest();
}

public class Bird implements a {


    @Override
    public void atest() {

    }


    public static void main(String[] args) {
        Bird bird = new Bird();
        BiTest biTest = new BiTest(bird);
    }
}

class BiTest {
    BiTest(a atest) {
        System.out.println("a test");
    }

    BiTest(b btest) {
        System.out.println("b test");
    }
}
